//
//  LabelCollectionViewCell.m
//  15-HomeWork
//
//  Created by dllo on 16/8/3.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "LabelCollectionViewCell.h"

@implementation LabelCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatLabel:self.bounds];
    }
    return self;
}
- (void)creatLabel:(CGRect)sender {
    _label = [[UILabel alloc] init];
    _label.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
    _label.textColor = [UIColor blackColor];
    _label.backgroundColor = [UIColor whiteColor];
    _label.numberOfLines = 1;
    
    [self.contentView addSubview:_label];
}

@end
